package com.hibase.core.rule.entity.rulemenu.vo;

import com.hibase.core.web.annotation.HibaseValid;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;

/**
 * <p>
 * 规则菜单内容表
 * </p>
 *
 * @author hufeng
 * @since 2019-06-10
 */
@Data
@HibaseValid
@ApiModel(value="RuleMenuContentInsertVO对象", description="规则菜单内容表新增VO")
public class RuleMenuContentInsertVO {

    @ApiModelProperty(value = "名称")
    @NotBlank(message = "请输入名称")
    private String name;

    @ApiModelProperty(value = "所属目录")
    @NotBlank(message = "请选择所属目录")
    private String menuId;

    @ApiModelProperty(value = "类型(数据源 SOURCE/业务规则 RULE)")
    @NotBlank(message = "请选择类型")
    private String type;

    @ApiModelProperty(value = "数据源")
    private String dataSource;

    @ApiModelProperty(value = "具体内容")
    private String content;

    @ApiModelProperty(value = "备注")
    private String remarks;


}
